#ifndef __LINUX_INIT_TASK_H__
#define __LINUX_INIT_TASK_H__

#define __init_task_data __attribute__((__section__(".data..init_task")))
#define init_thread_info	(init_thread_union.thread_info)
#define init_stack		(init_thread_union.stack)

#define INIT_TASK(tsk) \
{\
    .prio = PROCESS_PRIO_NORMAL, \
    .time_slice = 5, \
    .ticks = 5, \
    .mm = NULL, \
    .active_mm = &init_mm, \
    .stack = init_stack, \
    .state = 0, \
    .flags = PF_KTHREAD, \
    .pi_lock = \
    { \
        .raw_lock = \
        { \
            .lock = 1, \
        },\
    }, \
    .thread_info = \
    {\
        .task = &tsk,\
        .flags = 0,\
        .preempt_count = 1,\
    },\
}

#endif

